package com.atguigu.gmall.list.service;

import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;

import java.io.IOException;

public interface SearchService {
    /**
     * 商品上架
     * @param skuId
     */
    void upperGoods(Long skuId);


    /**
     * 商品下架
     * @param skuId
     */
    void lowerGoods(Long skuId);

    /**
     * 商品热度排行
     * @param skuId
     */
    void incrHotScore(Long skuId);

//    es查询返回值
    SearchResponseVo search(SearchParam searchParam) throws IOException;
}
